﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zocono.WCS.Infrastructure.ApllicationDto.FxModel
{
    /// <summary>
    /// getLKFXResult 输入参数
    /// </summary>
    public class getLKFXResultInput
    {
        /// <summary>
        /// 设备编码
        /// </summary>
        public string EquipCode { get; set; }
        /// <summary>
        /// 上传时间
        /// </summary>
        public string UploadTime { get; set; }
        /// <summary>
        /// 电芯型号代码（人工录入到上位机）
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 电芯条码
        /// </summary>
        public string[] CellCode { get; set; }
        /// <summary>
        /// 生产工作令（人工录入到上位机）
        /// </summary>
        public string WorkCode { get; set; }
        /// <summary>
        /// 客户端IP地址
        /// </summary>
        public string IPaddress { get; set; }
    }

    /// <summary>
    /// getLKFXResult 返回参数
    /// </summary>
    public class getLKFXResultOutput
    {
        /// <summary>
        /// 电芯条码
        /// </summary>
        public string CellCode { get; set; }
        /// <summary>
        /// MARKING代号
        /// </summary>
        public string MarkCode { get; set; }
        /// <summary>
        /// 系统异常信息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 处理结果 OK表示成功，NG表示失败
        /// </summary>
        public string Result { get; set; }
        /// <summary>
        /// 是否单独打包 OK表示是，NG表示否
        /// </summary>
        public string SinglePack { get; set; }
    }

    /// <summary>
    /// getCellDataForFx 输入参数
    /// </summary>
    public class getCellDataForFxInput
    {
        /// <summary>
        /// 生产工作令（人工录入到上位机）
        /// </summary>
        public string WorkCode { get; set; }
        /// <summary>
        /// 设备编码
        /// </summary>
        public string EquipCode { get; set; }
        /// <summary>
        /// 电芯型号代码（人工录入到上位机）
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 上传时间
        /// </summary>
        public string UploadTime { get; set; }
        /// <summary>
        /// 电芯条码
        /// </summary>
        public string CellCode { get; set; }
        /// <summary>
        /// 客户端IP地址
        /// </summary>
        public string IPaddress { get; set; }
        /// <summary>
        /// 物料码
        /// </summary>
        public string MaterialCode { get; set; }
    }

    /// <summary>
    /// getCellDataForFx 返回参数
    /// </summary>
    public class getCellDataForFxOutput
    {
        /// <summary>
        /// 电芯条码
        /// </summary>
        public string CellCode { get; set; }
        /// <summary>
        /// 系统异常信息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 处理结果
        /// </summary>
        public string Result { get; set; }
        /// <summary>
        /// 电池型号代码
        /// </summary>
        public string Pro_model_code { get; set; }
        /// <summary>
        /// 电池参数值集合
        /// </summary>
        public List<ParamsData> Params { get; set; }
    }

    public class ParamsData
    {
        /// <summary>
        /// 参数字段名
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 参数名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 参数值
        /// </summary>
        public string value { get; set; }
    }

    /// <summary>
    /// upCartonData 输入参数
    /// </summary>
    public class upCartonDataInput
    {
        /// <summary>
        /// 设备编码
        /// </summary>
        public string EquipCode { get; set; }
        /// <summary>
        /// 上传时间
        /// </summary>
        public string UploadTime { get; set; }
        /// <summary>
        /// 电芯型号代码（人工录入到上位机）
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 电芯编码
        /// </summary>
        //public string CellCode { get; set; }
        /// <summary>
        /// 生产工作令（人工录入到上位机）
        /// </summary>
        //public string WorkCode { get; set; }s
        /// <summary>
        /// 客户端IP地址
        /// </summary>
        public string IPaddress { get; set; }
        /// <summary>
        /// 托盘编码 托盘上贴的
        /// </summary>
        public string PalletCode { get; set; }
        /// <summary>
        /// 档位
        /// </summary>
        public string Grade { get; set; }
        /// <summary>
        /// 打包时间 YYYY-MM-DD HH:MM:SS格式
        /// </summary>
        public string BindTime { get; set; }
        /// <summary>
        /// 挡位标准名称 一个电芯型号有多个分档标准
        /// </summary>
        public string GradeStandardName { get; set; }
        /// <summary>
        /// 是否入库，1为入库，0为不入库
        /// </summary>
        public string IsInbound { get; set; }
        /// <summary>
        /// 不良代码
        /// </summary>
        public string NG_name { get; set; }
        /// <summary>
        /// 个数 电池个数
        /// </summary>
        public string Counts { get; set; }
        /// <summary>
        /// 备注代码
        /// </summary>
        //public string Remark { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        //public string RemarkName { get; set; }
        /// <summary>
        /// 电芯数据集合
        /// </summary>
        public List<Celldata> CellData { get; set; }
    }

    public class Celldata
    {
        /// <summary>
        /// 电芯编码
        /// </summary>
        public string CellCode { get; set; }
        /// <summary>
        /// 电芯位置 电芯在托盘中的位置
        /// </summary>
        public string Location { get; set; }
    }

    /// <summary>
    /// upCartonData 返回参数
    /// </summary>
    public class upCartonDataOutput
    {
        /// <summary>
        /// 处理结果 OK表示成功，NG表示失败
        /// </summary>
        public string Result { get; set; }
        /// <summary>
        /// 系统异常信息
        /// </summary>
        public string Message { get; set; }
    }
}
